package com.blockmeta.bbs.businesslibrary.net.pojo;

import java.util.List;

/**
 * Created by author on 2018/1/4.
 */

public class BBSAuthorPOJO {

    /**
     * mPostName : 11078
     * title : 【送3mBTC】大家手机上都有什么比特币app？图标截屏回复就送。
     * post_date : 1413943911
     * desc : 规则说明：1.安装任意两个比特币App并将图标截屏，上传图片回复本帖即可获得3mBTC奖励，不用留比特币地址，奖励将在活动结束后通过论坛PM消息给你。2.名额限前100名，每人 ...
     * content : <div align="left"><b>规则说明：</b></div><div align="left"><div align="left">1.安装任意<b>两个</b>比特币<font face="Times New Roman">App</font><font face="宋体">并将图标截屏，上传图片回复本帖即可获得</font><font face="Times New Roman">3mBTC</font><font face="宋体">奖励，不用留比特币地址，奖励将在活动结束后<b>通过论坛</b></font><font face="Times New Roman"><b>PM</b></font><font face="宋体"><b>消息</b>给你。</font></div><div align="left">2.名额限前<font face="Times New Roman">100</font><font face="宋体">名，每人限回复一次。</font><font face="宋体"><del>活动为期一周，2014-10-29 结束。</del></font>OK，活动继续进行，新回复的APP 截图继续奖0.003 BTC</div><div align="left"><div align="left">3.活动由比特币交易网<font face="Times New Roman">(<a href="http://www.btctrade.com/" target="_blank">www.btctrade.com</a>)</font><font face="宋体">赞助支持，大家到应用频道下载安装他们的APP客户端(<a href="http://app.8btc.com/app_24.html" target="_blank">Android</a> 和 <a href="http://app.8btc.com/app_120.html" target="_blank">iOS</a> 都支持)。</font></div></div><br><div align="left"><b>回复参考：</b></div><br><div align="left"><b>
     <ignore_js_op>

     <div class="mbn">
     <img alt="【送3mBTC】大家手机上都有什么比特币app？图标截屏回复就送。"  mID="aimg_8773" aid="8773" src="static/image/common/none.gif" zoomfile="data/attachment/forum/201410/22/100608nw98nn9yhq1nr6yy.png" file="data/attachment/forum/201410/22/100608nw98nn9yhq1nr6yy.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="660" mID="aimg_8773" inpost="1" onmouseover="showMenu({'ctrlid':this.mPostName,'pos':'12'})" />

     </div>

     <div class="tip tip_4 aimg_tip" mPostName="aimg_8773_menu" style="position: absolute; display: none" disautofocus="true">
     <div class="xs0">
     <p><strong>2014-10-22_100327.png</strong> <em class="xg1">(375.32 KB, 下载次数: 91)</em></p>
     <p>
     <a href="forum.php?mod=attachment&amp;aid=ODc3M3xkM2QwYzViNXwxNTE1MDY2NzcyfDB8MTEwNzg%3D&amp;nothumb=yes" target="_blank">下载附件</a>

     &nbsp;<a href="javascript:;" onclick="showWindow(this.mID, this.getAttribute('url'), 'get', 0);" mID="savephoto_8773" url="home.php?mod=spacecp&amp;ac=album&amp;op=saveforumphoto&amp;aid=8773&amp;handlekey=savephoto_8773">保存到相册</a>

     </p>

     <p class="xg1 y">2014-10-22 10:06 上传</p>

     </div>BBSAuthorPOJO
     <div class="tip_horn"></div>
     </div>

     </ignore_js_op>
     <br></b></div><br></div><br><font face="宋体">不知道安装什么应用? 请到应用频道去浏览比特币</font><font face="Times New Roman">app</font><font face="宋体"><font face="宋体">：</font></font><font face="Times New Roman"><a href="http://app.8btc.com" target="_blank">http://app.8btc.com</a></font><br><br><br><br><br><br>

     * author_info : {"mPostName":"5697","name":"西西","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/00/56/97_avatar_middle.jpg"}
     * category : {"name":"区块链论坛","threads":"1181","posts":"10293","mPostName":"61","link":"/forum-61-1.html"}
     * getViews : 5193
     * replies : 84
     * lastpost : 1354331108
     * lastposter : 西西
     */

    private int id;
    private String title;
    private String post_date;
    private String desc;
    private String content;
    private AuthorInfoBean author_info;
    private CategoryBean category;
    private String views;
    private String replies;
    private String lastpost;
    private String lastposter;
    private int like;
    private String attitude;//点赞 0=false 1= true
    private int pid;


    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getAttitude() {
        return attitude;
    }

    public void setAttitude(String attitude) {
        this.attitude = attitude;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public int getFavid() {
        return favid;
    }

    public void setFavid(int favid) {
        this.favid = favid;
    }

    private int favid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPost_date() {
        return post_date;
    }

    public void setPost_date(String post_date) {
        this.post_date = post_date;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public AuthorInfoBean getAuthor_info() {
        return author_info;
    }

    public void setAuthor_info(AuthorInfoBean author_info) {
        this.author_info = author_info;
    }

    public CategoryBean getCategory() {
        return category;
    }

    public void setCategory(CategoryBean category) {
        this.category = category;
    }

    public String getViews() {
        return views;
    }

    public void setViews(String views) {
        this.views = views;
    }

    public String getReplies() {
        return replies;
    }

    public void setReplies(String replies) {
        this.replies = replies;
    }

    public String getLastpost() {
        return lastpost;
    }

    public void setLastpost(String lastpost) {
        this.lastpost = lastpost;
    }

    public String getLastposter() {
        return lastposter;
    }

    public void setLastposter(String lastposter) {
        this.lastposter = lastposter;
    }



    public static class AuthorInfoBean {
        /**
         * mPostName : 5697
         * name : 西西
         * desc :
         * avatar : http://8btc.com/uc_server/data/avatar/000/00/56/97_avatar_middle.jpg
         */

        private String id;
        private String name;
        private String desc;
        private String avatar;
        private String grouptitle;
        private String date;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getGrouptitle() {
            return grouptitle;
        }

        public void setGrouptitle(String grouptitle) {
            this.grouptitle = grouptitle;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class CategoryBean {
        /**
         * name : 区块链论坛
         * threads : 1181
         * posts : 10293
         * mPostName : 61
         * link : /forum-61-1.html
         */

        private String name;
        private String threads;
        private String posts;
        private String id;
        private String link;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThreads() {
            return threads;
        }

        public void setThreads(String threads) {
            this.threads = threads;
        }

        public String getPosts() {
            return posts;
        }

        public void setPosts(String posts) {
            this.posts = posts;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }
    }
    /**
     * mPostName : 130999
     * title : 测试一下发帖
     * post_date : 1518414232
     * desc : 测试一下发帖带图
     * content : 测试一下发帖带图

     * author_info : {"mPostName":"236802","name":"author","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/23/68/02_avatar_middle.jpg"}
     * category : {"name":"趣会","threads":"778","posts":"17547","mPostName":"41","link":"/forum-41-1.html"}
     * getViews : 114
     * replies : 0
     * lastpost : 1518414232
     * lastposter : author
     * attachments : [{"aid":"268434","url":"http://8btc.com/data/attachment/forum/201802/12/134352u7anq80hqjyzssyi.jpg","thumb":"http://8btc.com/data/attachment/forum/201802/12/134352u7anq80hqjyzssyi.jpg","filename":"20180207_163653.jpg","filesize":"660830"}]
     * favid : 0
     */

    private List<AttachmentsBean> attachments;


    public List<AttachmentsBean> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentsBean> attachments) {
        this.attachments = attachments;
    }

    public static class AttachmentsBean {
        /**
         * aid : 268434
         * url : http://8btc.com/data/attachment/forum/201802/12/134352u7anq80hqjyzssyi.jpg
         * thumb : http://8btc.com/data/attachment/forum/201802/12/134352u7anq80hqjyzssyi.jpg
         * filename : 20180207_163653.jpg
         * filesize : 660830
         */

//        private String aid;
        private String url;
        private String thumb;
//

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }
    }


}
